package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Spec;

import java.util.List;
import java.util.Map;

public interface SpecService {

    public PageResult findPage(QueryPageBean queryPageBean);

    public List<Map> findAllSpecWithOptions(Integer category3id);

    Result handleAdd(Spec spec);

    Result handleDelete(Integer id);

    Result findById(Integer id);

    Result update(Spec spec);
}
